package com.watson.patterns.structure.adapter;

public class Usb2HdmiObject implements Usb{
    Hdmi hdmi;

    public Usb2HdmiObject(Hdmi hdmi) {
        this.hdmi = hdmi;
    }

    @Override
    public void usbInterface() {
        System.out.println("usb interface");
        System.out.println("usb interface to hdmi interface");
        hdmi.hdmiInterface();
    }
}
